package com.github.dice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

public class Player extends Model<Player> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "player_id", type = IdType.AUTO)
    private Integer playerId;

    private String playerName;

    private String playerPwd;

    private Integer isDelete;

    public Integer getPlayerId() {
        return playerId;
    }

    public void setPlayerId(Integer playerId) {
        this.playerId = playerId;
    }
    public String getPlayerName() {
        return playerName;
    }

    public void setPlayerName(String playerName) {
        this.playerName = playerName;
    }
    public String getPlayerPwd() {
        return playerPwd;
    }

    public void setPlayerPwd(String playerPwd) {
        this.playerPwd = playerPwd;
    }
    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    protected Serializable pkVal() {
        return this.playerId;
    }

    @Override
    public String toString() {
        return "Player{" +
        "playerId=" + playerId +
        ", playerName=" + playerName +
        ", playerPwd=" + playerPwd +
        ", isDelete=" + isDelete +
        "}";
    }
}
